- article_link = @article ? @article.permalink : ""
!!! Strict
%html{html_attrs('en')}
  %head
    %meta{'http-equiv'=>"Content-Type", :content=>"text/html;charset=utf-8"}
    %title Pilar Villegas, N. D.
    = stylesheet_link_tag 'general_5'
    /[if lt IE 7]
      = stylesheet_link_tag 'general_ie'

  %body
    #overlay
    #content
      %div
        #header
          =image_tag 'stacked.png', :alt => 'pebbles stacked', :id => "stones"
          %h1
            = link_to 'Pilar E. Villegas, B.Sc., N.D.', home_path()
          %h4 Doctor of Naturopathic Medicine
          
            
        #sidebar{:class=>"sidebar"}
          %ol
            %li{ :class=>@index_current }
              = link_to 'Home', home_path(), { :id => "index"}
            %li{ :class=>@services_current }
              = link_to 'Services I provide', services_path(), { :id => "services"}
            - if @article_count > 0
              %li{ :class=>@article_current }
                = link_to "This month\'s article", current_article_path(article_link), { :id => "current"}
              %li{ :class=>@archives_current }
                = link_to 'Archives', articles_path(), { :id => "archives"}
            %li{ :class=>@about_current }
              = link_to 'About Me', about_path(), { :id => "about" }
            %li{ :class => @locations_current}
              = link_to 'Locations', locations_path(), { :id => "locations" }
            %li{:class=>@faq_current}
              = link_to 'FAQ', faq_path(), { :id => 'faq'}
            %li
              =# link_to 'Make new article', new_article_path(), { :id => "new"}
        #main
          = yield
        #footer
          .subfooter{ :class =>"first"}
            %h4 A little bit about me:
            %p.first
              I'm a naturopathic doctor with a practice in Brampton and downtown Toronto.
          .subfooter{:class=> "locations"}
            %h4 You can find me at:
            %p
              %label Vodden Arts Medical Centre
              %br/
              %label 107 - 36 Vodden St E
              %br/
              %label Brampton, ON, L6V 4H4
              %br/
              %a{ :href=>'/locations/#brampton_office'} Map
            %p
              %label Allan Gardens Wellness Centre
              %br/
              %label 120 Carlton Street, Suite 417
              %br/
              %label Toronto, ON, M5A 4K2
              %br/
              %a{ :href=>'/locations/#toronto_office'} Map
       
    = javascript_include_tag 'jquery-1.3.2.min', 'shadow', 'jmap.min'
    /[if lt IE 7]
      = javascript_include_tag 'supersleight'
    = javascript_include_tag 'application'